<template>
  <div style="height: 100px;width: 100%">
    <ikun-auto-scroll :data-list="dataList">
      <template #default="{item,index}">
        <div>{{ item }}</div>
      </template>
    </ikun-auto-scroll>
  </div>
</template>

<script lang="ts" setup>
const dataList = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
</script>
